package com.jfinal.j2cache;

import com.jfinal.j2cache.impl.ehcache.EhcacheManager;

public class CacheFactory {

    public static CacheManager cacheManager = new EhcacheManager();

    public static void setCacheManager(CacheManager cacheManager) {
        CacheFactory.cacheManager = cacheManager;
    }

    public static CacheManager getCacheManager() {
        return cacheManager;
    }
}
